import request from '@/utils/request'

export function insert (data) {
    return request({
        url: '/api/server/expertApprovalRecord/insert',
        method: 'post',
        data
    })
}

export function update (data) {
    return request({
        url: '/api/server/expertApprovalRecord/update',
        method: 'post',
        data
    })
}

export function batchUpdate (data) {
    return request({
        url: '/api/server/expertApprovalRecord/batchUpdate',
        method: 'post',
        data
    })
}

export function queryByPage (data) {
    return request({
        url: '/api/server/expertApprovalRecord/queryByPage',
        method: 'post',
        data
    })
}

export function deleteById (data) {
    return request({
        url: '/api/server/expertApprovalRecord/deleteById',
        method: 'get',
        params:data
    })
}

export function queryById (data) {
  return request({
      url: '/api/server/healthyDataPublish/queryById',
      method: 'get',
      params:data
  })
}

export function insertRecord (data) {
    return request({
        url: '/api/server/expertApprovalRecord/insertRecord',
        method: 'post',
        data
    })
}